package com.ndp.fb.model.fbagent.result.adgroup;

import com.ndp.fb.model.fbagent.result.AbstractFacebookResult;
import com.ndp.fb.model.fbagent.result.adset.FbAdSet;
import com.restfb.Facebook;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by Evan on 2015/3/4 17:49.
 */
@Setter
@Getter
@NoArgsConstructor
public class FbAdgroup extends AbstractFacebookResult
{
    /**
     * account_id
     */
    @Facebook("account_id")
    private long accountId;

    /**
     * adgroup_status
     */
    @Facebook("configured_status")
    private String adgroupStatus;

    /**
     * bid_type
     */
    @Facebook("bid_type")
    private String bidType;

    /**
     * bid_info
     */
    @Facebook("bid_info")
    private String bidInfo;

    /**
     * campaign_id
     */
    @Facebook("adset_id")
    private long campaignId;

    /**
     * campaign_group_id
     */
    @Facebook("campaign_id")
    private long campaignGroupId;

    /**
     * conversion_specs
     */
    @Facebook("conversion_specs")
    private String conversionSpecs;

    /**
     * created_time
     */
    @Facebook("created_time")
    private String createdTime;

    /**
     * creative_ids
     */
    @Facebook("creative")
    private String creative;

    /**
     * adgroup_review_feedback
     */
    @Facebook("ad_review_feedback")
    private String adgroupReviewFeedback;

    /**
     * id
     */
    @Facebook("id")
    private long id;

    /**
     * name
     */
    @Facebook("name")
    private String name;

    /**
     * targeting
     */
    @Facebook("targeting")
    private String targeting;

    /**
     * tracking_specs
     */
    @Facebook("tracking_specs")
    private String trackingSpecs;

    /**
     * updated_time
     */
    @Facebook("updated_time")
    private String updatedTime;

    /**
     * failed_delivery_checks
     */
    @Facebook("failed_delivery_checks")
    private String failedDeliveryChecks;

    /**
     * view_tags
     */
    @Facebook("view_tags")
    private String viewTags;

    @Facebook("objective")
    private String objective;

    @Facebook("bid_amount")
    private Integer bidAmount;
    /**
     * 该adgroup所在的campaign
     */
    private FbAdSet campaign;


}
